package com.my.web.controller.admin;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;


@Api(description = "管理员管理的页面指向",basePath = "/admin")
@RequestMapping("/admin")
@Controller
public class AdminController {

    @ApiOperation("跳转到登录页面")
    @GetMapping(value = {"","/index"})
    public String index(){
        return "admin/login";
    }
}
